package com.inspinia.base.util;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * 日志使用辅助类
 */
public class LogHelper {

    public static Logger getLogger(Class<?> cls) {
        return LoggerFactory.getLogger(cls);
    }

    public static void debug(Logger logger, String messge) {
        if (logger.isDebugEnabled()) {
            logger.debug(messge);
        }
    }
}
